* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Roboto', sans-serif;
  background-color: #141414;
  color: #fff;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  position: relative; 
}

.navbar .logo {
  position: relative; 
  top: 20px; 
  left: 20px;  
}


.navbar .logo img {
  width: 120px;
}

.navbar .menu a {
  color: #fff;
  margin-left: 20px;
  text-decoration: none;
  font-size: 18px;
}

.hero {
  height: 90vh;
  background-image: url('hero-image.jpg');
  background-size: cover;
  background-position: center;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.hero-content h1 {
  font-size: 50px;
  margin-bottom: 20px;
}

.hero-content p {
  font-size: 20px;
  margin-bottom: 30px;
}

.cta-btn {
  background-color: #e50914;
  color: #fff;
  border: none;
  padding: 15px 30px;
  font-size: 20px;
  cursor: pointer;
}

.content-section {
  padding: 50px 20px;
}

.content-section h2 {
  margin-bottom: 20px;
  font-size: 28px;
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.content-grid img {
  width: 100%;
  height: auto;
  border-radius: 5px;
}

.footer {
  text-align: center;
  padding: 20px;
  color: #fff;
  font-size: 14px;
}


@media (max-width: 768px) {

  
  body {
    overflow-x: hidden;
    background-attachment: scroll;
    background-position: center;
  }

  
  .navbar {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 15px 0;
  }

  .menu {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .menu a {
    font-size: 1rem;
  }

  .logo img {
    width: 120px;
    height: auto;
  }

  
  .hero {
    text-align: center;
    padding: 50px 20px;
    background-size: cover;
  }

  .hero-content h1 {
    font-size: 1.8rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .cta-btn {
    padding: 10px 20px;
    font-size: 1rem;
  }

  
  .content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 10px;
    padding: 0 10px;
  }

  .content-grid img {
    width: 100%;
    height: auto;
    border-radius: 8px;
  }

  
  .content-section h2 {
    font-size: 1.4rem;
    text-align: center;
    margin-bottom: 15px;
  }

  
  .footer {
    text-align: center;
    padding: 20px;
    font-size: 0.9rem;
  }
}
#menu-toggle {
  display: none;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  position: absolute;
  top: 25px;
  right: 25px;
  z-index: 1100;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background-color: #fff;
  border-radius: 2px;
  transition: all 0.3s;
}

@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .menu {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 60%;
    max-width: 250px;
    background-color: #141414;
    position: fixed;
    top: 0;
    right: 0;
    height: 100%;
    padding: 60px 20px 20px 20px;
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
    z-index: 1000;
  }

  #menu-toggle:checked + .hamburger + .menu {
    transform: translateX(0);
  }

  .menu a {
    font-size: 1.2rem;
    margin: 10px 0;
  }
}
#menu-toggle:checked + .hamburger span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

#menu-toggle:checked + .hamburger span:nth-child(2) {
  opacity: 0;
}

#menu-toggle:checked + .hamburger span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

@media (max-width: 768px) {
  html, body {
    overflow-x: hidden;
  }

  .navbar {
    position: relative;
    padding: 10px 15px;
  }

  .navbar .logo {
    position: static;
    margin-bottom: 10px;
  }

  .hamburger {
    position: absolute;
    top: 20px;
    right: 20px;
  }
}

@media (max-width: 600px) {
  .content-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
}

@media (max-width: 480px) {
  .hero {
    height: auto;
    padding: 80px 20px;
  }

  .hero-content h1 {
    font-size: 1.5rem;
    line-height: 1.3;
  }

  .hero-content p {
    font-size: 0.9rem;
  }

  .cta-btn {
    padding: 8px 16px;
    font-size: 0.9rem;
  }
}

@media (max-width: 400px) {
  .content-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .navbar .logo img {
    width: 100px;
  }
}
